import {createApp} from 'vue'
import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zh_cn from 'element-plus/es/locale/lang/zh-cn'

import { VueUiRadar } from "vue-data-ui"
import "vue-data-ui/style.css"

import App from './App.vue'
import router from './router'

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate)

createApp(App).use(pinia).use(ElementPlus, {
    locale: zh_cn,
}).use(router).component("VueUiRadar", VueUiRadar).mount('#app')
